<script src="http://server.chat:8080/socket.io/socket.io.js"></script>
<script src="http://code.jquery.com/jquery-1.6.2.min.js"></script>
<script>
	var socket = io.connect('http://server.chat:8080');
	/*
	socket.on('broadcast', function(data){
        document.write(data + '<br/>');
    });*/
	socket.on('worker', function(data){
        $('#notification').html(data);
    });
</script>

<div id="notification"></div>